package com.app.biz.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.app.biz.mapper.BizServiceConsultationMapper;
import com.app.biz.domain.BizServiceConsultation;
import com.app.biz.service.IBizServiceConsultationService;

/**
 * 服务咨询Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-09-09
 */
@Service
public class BizServiceConsultationServiceImpl implements IBizServiceConsultationService 
{
    @Autowired
    private BizServiceConsultationMapper bizServiceConsultationMapper;

    /**
     * 查询服务咨询
     * 
     * @param baseId 服务咨询主键
     * @return 服务咨询
     */
    @Override
    public BizServiceConsultation selectBizServiceConsultationByBaseId(String baseId)
    {
        return bizServiceConsultationMapper.selectBizServiceConsultationByBaseId(baseId);
    }

    /**
     * 查询服务咨询列表
     * 
     * @param bizServiceConsultation 服务咨询
     * @return 服务咨询
     */
    @Override
    public List<BizServiceConsultation> selectBizServiceConsultationList(BizServiceConsultation bizServiceConsultation)
    {
        return bizServiceConsultationMapper.selectBizServiceConsultationList(bizServiceConsultation);
    }

    /**
     * 新增服务咨询
     * 
     * @param bizServiceConsultation 服务咨询
     * @return 结果
     */
    @Override
    public int insertBizServiceConsultation(BizServiceConsultation bizServiceConsultation)
    {
        return bizServiceConsultationMapper.insertBizServiceConsultation(bizServiceConsultation);
    }

    /**
     * 修改服务咨询
     * 
     * @param bizServiceConsultation 服务咨询
     * @return 结果
     */
    @Override
    public int updateBizServiceConsultation(BizServiceConsultation bizServiceConsultation)
    {
        return bizServiceConsultationMapper.updateBizServiceConsultation(bizServiceConsultation);
    }

    /**
     * 批量删除服务咨询
     * 
     * @param baseIds 需要删除的服务咨询主键
     * @return 结果
     */
    @Override
    public int deleteBizServiceConsultationByBaseIds(String[] baseIds)
    {
        return bizServiceConsultationMapper.deleteBizServiceConsultationByBaseIds(baseIds);
    }

    /**
     * 删除服务咨询信息
     * 
     * @param baseId 服务咨询主键
     * @return 结果
     */
    @Override
    public int deleteBizServiceConsultationByBaseId(String baseId)
    {
        return bizServiceConsultationMapper.deleteBizServiceConsultationByBaseId(baseId);
    }
}
